
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>订单管理页面</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<style type="text/css">
			<!--
			body {
				background-color: #aed4ff;
			}
			-->
		</style>
	</head>
	<body>
		<img src="/bookshop-online/image/bupt_manage.jpg" width="229" height="259" hspace="200"
			vspace="150">
		<div style="margin: -400px 0px 0px 500px;">
			<s:if test="#request.orderlist!=null">
				<s:iterator value="#request.orderlist" var="order">
					<tr>
						<td>用户名：<s:property value="#order.username" />&nbsp;</td>
						<td>书名：<s:property value="#order.bookname" />&nbsp;</td>
						<td>价格：<s:property value="#order.price" />&nbsp;</td>
						<td>数量<s:property value="#order.num" />&nbsp;</td>
						<td>操作：<a href="orderAction_userDeleteOrder.action?orderIdToDelete=${order.id}">取消订单&nbsp;</a><br></td>
					</tr>
				</s:iterator>
			</s:if>
			<a href="/bookshop-online/index.jsp">返回</a>
		</div>
	</body>
</html>